﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content4" ContentPlaceHolderID="script_css" runat="server">
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/bar.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    用户
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width: 100%;">
        <tr>
            <td style="width: 260px;">
                <table style="width: 100%;">
                    <tr>
                        <td style="height: 20px; background-color: White;">
                            用户
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 200px; background-color: Gray; background-color: White;">
                            <img src="../../Images/star.png" style="width: 100px; height: 100px;" />
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 30px; background-color: Gray; background-color: White;">
                            <%= Html.Label(((XianboSite.Models.User)ViewData["user"]).UserName) %>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="background-color: White; vertical-align: top;">
                <strong>我的鲜啵列表</strong>
                <div style="border-style: solid; width: 99%; height: 90%; border-width: 1px; border-color: Gray;">
                    <%Html.RenderPartial("LiveControl", ViewData["live"]); %>
                </div>
                <strong>我的关注列表</strong>
                <div style="border-style: solid; width: 99%; height: 90%; border-width: 1px; border-color: Gray;">
                    <table width="99%">
                        <%foreach (XianboSite.Models.AttentionDetails item in (IList<XianboSite.Models.AttentionDetails>)ViewData["attentions"])
                          {%>
                        <tr>
                            <td style="width: 170px;">
                                <%= Html.Label(item.CreateTime.ToString()) %>
                            </td>
                            <td style="width: 90px;">
                                <%= Html.Label(item.CategoryName)%>
                            </td>
                            <td style="width: 200px;">
                                <%= Html.ActionLink(item.LiveName, "Index", "LiveDetailsInfo", new { ID = item.LiveID }, new { style = "color:#33CC00;text-decoration: none;" })%>
                            </td>
                            <td align="right">
                                <%=Html.ActionLink("评论", "Index", "Comment") %>
                            </td>
                            <td align="right">
                                <a href="#">关注</a>
                            </td>
                            <td align="right">
                                <img src="../../Images/star.png" style="width: 20px; height: 20px;" />
                            </td>
                        </tr>
                        <%} %>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
